package org.gpp.proj1.communication.protocol;

public enum ProtocolIdentifiers {
	HELLO, // Sent by a client when it joins the lobby
	CHAT, // Chat message 
	TOGGLEREADINESS, // Changes the client's readiness state during the lobby and init phases
	CLIENTOFFLINE, // The client is going offline
	WHOSHERE,// The clients connected to a server and their
			 // respective readiness states
	CHANGEMAP, // Changes map to a given parameter name
	SERVERNAME, // Sends the server name
	KICKED, // Client has been kicked from the server
	INITPHASE, // Warns the clients that the initialization phase has started
	MYROBOTDATA, // Sent by the client with its robot data entries
	MAPDATA, // Sent by the server with the map data
	PLAYEROBOTDATA, // Sent by the server with a player's robot data
	GAMEBOARDDATA, // Sent by server with robot's initial positions
	INGAMEPHASE, // Sent by the server to signal the successful end of init phase
	INITFAILED, // Sent by server to notify that the game initialization phase failed
	WHOSETURNISIT, // Sent by client to ask the server what's the current turn
	CURRENTTURN, // Sent by server to inform the current turn's player
	YOURTURN, // Sent by the server to a player to notify that it is it's turn to play
	CURRENTTURNROBOT, // Sent by the server to notify which robot is being controlled on this turn
	ENDTURN, // Sent by client to notify the end of its current robot turn
	MOVEROBOT,
	ROBOTMOVED,
	ATTACK,
	PLAYERATTACKED
}